package com.qiaofang.applet.service.property.service;

import com.qiaofang.applet.common.base.BaseService;
import com.qiaofang.applet.service.property.domain.PropertyVideo;

/**
 * 房源视频服务接口
 *
 * @author daiyuxiang
 * @Time 2020-09-30
 */
public interface PropertyVideoService extends BaseService<PropertyVideo, String> {
    PropertyVideo findByVideoUuidAndCompanyUuid(String videoUuid, String companyUuid);

    /**
     * 查询房源视频对象
     *
     * @param propertyUuid: 房源UUID
     * @param cityCode:     城市code
     * @return PropertyVideo: 房源视频对象
     * @author daiyuxiang
     */
    PropertyVideo findByPropertyUuidAndCityCode(String propertyUuid, String cityCode);

}
